<div class="title">商品分类</div>
<div class="tile">
    <div class="tileitems">
        {{#each $Cache.tags_detail}}
        <a class="_classify_item" bind-href="#default/classify?tag_id={{_id}}" title="{{tag_name}}">
            <li>{{tag_name}}(<span class="num">{{content.length}}</span>)</li>
        </a>
        {{/each}}

    </div>
</div>
<script type="text/vm">
function(vm){
	require(["common", "coAjax"],function(jSouper, coAjax){
		coAjax.get(appConfig.bus.tags_detail, {
            bus_id: appConfig.bus_id
        }, function(result) {
            App.set("$Cache.tags_detail", result.result);
        });
	})
}
</script>